package com.winning.pmph.entity;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.persistence.Table;
import javax.persistence.Transient;
import javax.xml.bind.annotation.*;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

@Data
@Table(name = "DATA_PERMISSION")
public class DataPermission extends BaseEntity {

    @TableId
    private String id;
    private String userName;
    private String roleId;
    private JSONArray bookIdArray;
    private JSONArray bookCategoryArray;
    private JSONArray journalIdArray;
    private JSONArray knowledgeLibIdArray;
    private JSONArray editKnowledgeLibIdArray;
    private JSONArray pushKnowledgeLibIdArray;
}
